extends ../layout

block init
  -title = "消息"
  -dir = "/html/message/list"

block body
  #app
    a.list(v-for="item in items",:href="'detail?id='+item.id")
      div
        span(v-cloak) {{item.title}}
        span.icon(v-cloak) {{item.fuwuName}}
      div(style={"flex-direction": "column"},v-cloak) {{item.content}}
        span(style={"font-size": "0.6rem", "color": "gray","align-self":"flex-end"},v-cloak) {{getTime(item.createAt)}}


    .noData(v-if="!items.length") 没有消息
    .loading(v-if="items.length && loading") 正在加载。。。
